package com.CusterRelSys.service.Impl;

import com.CusterRelSys.entity.CstCustomer;
import com.CusterRelSys.entity.CstService;
import com.CusterRelSys.entity.SysUser;
import com.CusterRelSys.mapper.CusServiceMapperZS;
import com.CusterRelSys.service.CusServiceServiceZS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/12/1.
 */
@Service
public class CusServiceServiceImpl implements CusServiceServiceZS{
    @Autowired
    CusServiceMapperZS cusServiceMapperZS;

    @Override
    public List<Integer> selectCstNo() {
        return cusServiceMapperZS.selectCstNo();
    }

    @Override
    public List<SysUser> selectAllUser() {
        return cusServiceMapperZS.selectAllUser();
    }

    @Override
    public List<CstCustomer> selectCustomer(CstCustomer cstCustomer) {
        return cusServiceMapperZS.selectCustomer(cstCustomer);
    }

    @Override
    public List<CstService> selectService(CstService cstService) {
        return cusServiceMapperZS.selectService(cstService);
    }

    @Override
    public void deleteService(String svrId) {
        cusServiceMapperZS.deleteService(svrId);
    }
}
